﻿Public Class ReceiptDTO
    Private _BookingID As Integer
    Private _ReceiptID As Integer
    Private _PaymentMethod As String
    Private _TimeIn As DateTime
    Private _TimeOut As DateTime
    
    Public Property BookingID() As Integer
        Get
            Return _BookingID
        End Get
        Set(ByVal value As Integer)
            _BookingID = value
        End Set
    End Property

    Public Property ReceiptID() As Integer
        Get
            Return _ReceiptID
        End Get
        Set(ByVal value As Integer)
            _ReceiptID = value
        End Set
    End Property
    Public Property PaymentMethod() As String
        Get
            Return _PaymentMethod
        End Get
        Set(ByVal value As String)
            _PaymentMethod = value
        End Set
    End Property
    Public Property TimeIn() As DateTime
        Get
            Return _TimeIn
        End Get
        Set(ByVal value As DateTime)
            _TimeIn = value
        End Set
    End Property
    Public Property TimeOut() As DateTime
        Get
            Return _TimeOut
        End Get
        Set(ByVal value As DateTime)
            _TimeOut = value
        End Set
    End Property
  
    Public Sub New()
        _BookingID = 0
        _ReceiptID = 0
        _PaymentMethod = ""
        _TimeIn = Nothing
        _TimeOut = Nothing
    End Sub
End Class
